.rank-widget { width: 100%; padding: 16px; font-family: 'Pretendard', sans-serif; } .rank-title { text-align: center; font-weight: 700; font-size: 18px; margin-bottom: 12px; color: #FFFFFF; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); } .rank-empty { text-align: center; color: #666; padding: 20px; } .rank-list { display: flex; flex-direction: column; gap: 6px; } .rank-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); transition: all 0.5s ease; &.rank-1 { background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05)); } &.rank-2 { background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05)); } &.rank-3 { background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05)); } } .rank-badge { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; &.badge-1 { background: #FFD700; color: #000; } &.badge-2 { background: #C0C0C0; color: #000; } &.badge-3 { background: #CD7F32; color: #FFF; } &.badge-default { background: #555; color: #FFF; } } .rank-name { flex: 1; font-weight: 600; color: #FFFFFF; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rank-amount { font-weight: 700; color: #FF6B35; font-size: 15px; white-space: nowrap; }